Optimal. Leaf size=27 \[ -\frac {1}{2} \sqrt {1-x^2} (2-x)-\frac {1}{2} \sin ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {1593, 780, 216} \[ -\frac {1}{2} \sqrt {1-x^2} (2-x)-\frac {1}{2} \sin ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 216
Rule 780
Rule 1593
Rubi steps
\begin {align*} \int \frac {x-x^2}{\sqrt {1-x^2}} \, dx &=\int \frac {(1-x) x}{\sqrt {1-x^2}} \, dx\\ &=-\frac {1}{2} (2-x) \sqrt {1-x^2}-\frac {1}{2} \int \frac {1}{\sqrt {1-x^2}} \, dx\\ &=-\frac {1}{2} (2-x) \sqrt {1-x^2}-\frac {1}{2} \sin ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 24, normalized size = 0.89 \[ \frac {1}{2} \left ((x-2) \sqrt {1-x^2}-\sin ^{-1}(x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 31, normalized size = 1.15 \[ \frac {1}{2} \, \sqrt {-x^{2} + 1} {\left (x - 2\right )} + \arctan \left (\frac {\sqrt {-x^{2} + 1} - 1}{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.42, size = 19, normalized size = 0.70 \[ \frac {1}{2} \, \sqrt {-x^{2} + 1} {\left (x - 2\right )} - \frac {1}{2} \, \arcsin \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 29, normalized size = 1.07 \[ \frac {\sqrt {-x^{2}+1}\, x}{2}-\frac {\arcsin \relax (x )}{2}-\sqrt {-x^{2}+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.89, size = 28, normalized size = 1.04 \[ \frac {1}{2} \, \sqrt {-x^{2} + 1} x - \sqrt {-x^{2} + 1} - \frac {1}{2} \, \arcsin \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 20, normalized size = 0.74 \[ \left (\frac {x}{2}-1\right )\,\sqrt {1-x^2}-\frac {\mathrm {asin}\relax (x)}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.29, size = 24, normalized size = 0.89 \[ \frac {x \sqrt {1 - x^{2}}}{2} - \sqrt {1 - x^{2}} - \frac {\operatorname {asin}{\relax (x )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________